package hlhj.fhp.supreme.javabean;

import java.util.List;

/**
 * Created by Administrator on 2018\4\28 0028.
 */

public class ClassTypeBean {


    /**
     * code : 1
     * msg : 操作成功
     * data : {"cat":[{"id":14,"name":"反反复","level":[{"id":1,"title":"初级"},{"id":2,"title":"中级"},{"id":3,"title":"高级"}]},{"id":18,"name":"温泉区","level":[{"id":1,"title":"初级"},{"id":2,"title":"中级"}]}],"reward_rate":10}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * cat : [{"id":14,"name":"反反复","level":[{"id":1,"title":"初级"},{"id":2,"title":"中级"},{"id":3,"title":"高级"}]},{"id":18,"name":"温泉区","level":[{"id":1,"title":"初级"},{"id":2,"title":"中级"}]}]
         * reward_rate : 10
         */

        private int reward_rate;
        private List<CatBean> cat;

        public int getReward_rate() {
            return reward_rate;
        }

        public void setReward_rate(int reward_rate) {
            this.reward_rate = reward_rate;
        }

        public List<CatBean> getCat() {
            return cat;
        }

        public void setCat(List<CatBean> cat) {
            this.cat = cat;
        }

        public static class CatBean {
            /**
             * id : 14
             * name : 反反复
             * level : [{"id":1,"title":"初级"},{"id":2,"title":"中级"},{"id":3,"title":"高级"}]
             */

            private int id;
            private String name;
            private List<LevelBean> level;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<LevelBean> getLevel() {
                return level;
            }

            public void setLevel(List<LevelBean> level) {
                this.level = level;
            }

            public static class LevelBean {
                /**
                 * id : 1
                 * title : 初级
                 */

                private int id;
                private String title;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }
    }
}
